<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>GrowingTreen</title>
<link rel="stylesheet" type="text/css"
	href="all/lib/bootstrap/css/bootstrap.css">
<link rel="stylesheet" type="text/css" href="all/stylesheets/theme.css">
<link rel="stylesheet" href="all/lib/font-awesome/css/font-awesome.css">
<script src="all/lib/jquery-1.7.2.min.js" type="text/javascript"></script>
<style type="text/css">
#line-chart {
	height: 300px;
	width: 800px;
	margin: 0px auto;
	margin-top: 1em;
}

.brand {
	font-family: georgia, serif;
}

.brand .first {
	color: #ccc;
	font-style: italic;
}

.brand .second {
	color: #fff;
	font-weight: bold;
}
</style>
<link rel="shortcut icon" href="../assets/ico/favicon.ico">
<link rel="apple-touch-icon-precomposed" sizes="144x144"
	href="../assets/ico/apple-touch-icon-144-precomposed.png">
<link rel="apple-touch-icon-precomposed" sizes="114x114"
	href="../assets/ico/apple-touch-icon-114-precomposed.png">
<link rel="apple-touch-icon-precomposed" sizes="72x72"
	href="../assets/ico/apple-touch-icon-72-precomposed.png">
<link rel="apple-touch-icon-precomposed"
	href="../assets/ico/apple-touch-icon-57-precomposed.png">
</head>
<body class="" onLoad="showTime()">
	<div class="navbar">
		<div class="navbar-inner">
			<ul class="nav pull-right">
				<li><a href="#"
					class="hidden-phone visible-tablet visible-desktop">设置</a></li>
			</ul>
			<a class="brand" href="index.html"><span class="first">Growing</span>
				<span class="second">Tree</span></a>
		</div>
	</div>
	<div class="sidebar-nav">
		<a href="#" role="button"
			class="dropdown-toggle" data-toggle="dropdown"> <i
				class="icon-user"></i> 管理员已登录 <%=session.getAttribute("loginName") %>
		</a> <a href="login.jsp">注销</a> <a href="#index-menu" class="nav-header"
			data-toggle="collapse"></a> <a href="/GrowingTree/information"
			class="nav-header"> <i class="icon-dashboard"></i>首页
		</a> <a href="#manage-menu" class="nav-header" data-toggle="collapse"><i
				class="icon-dashboard"></i>系统管理</a>
			<ul id="manage-menu" class="nav nav-list collapse in">
				<li><a href="/GrowingTree/teacherAccount">老师管理</a></li>
				<li><a href="/GrowingTree/parentAccount">家长管理</a></li>
				<li><a href="/GrowingTree/classAccount">班级管理</a></li>
			</ul> <a href="#message-menu.jsp" class="nav-header"
			data-toggle="collapse"> <i class="icon-dashboard"></i>通知管理
		</a>
			<ul id="message-menu" class="nav nav-list collapse in">
				<li><a href="school-message.jsp">校方通知</a></li>
			</ul> <a href="#accounts-menu" class="nav-header" data-toggle="collapse"></a>
			<a href="/GrowingTree/reset-password.jsp" class="nav-header"> <i
				class="icon-briefcase"></i>重置密码
		</a> <a href="#help-menu" class="nav-header" data-toggle="collapse"></a> <a
			href="help.jsp" class="nav-header"> <i class="icon-question-sign"></i>帮助
		</a>
	</div>
	<div class="content">
		<div class="block">
			<p class="block-heading">学校最新动态</p>
			<div class="block-body">
				<form method="post">
					<table class="table">
						<tr>
							<th>动态ID</th>
							<th>动态标题</th>
							<th>动态内容</th>
							<th>动态日期</th>
							<th style="width: 26px;"></th>
						</tr>
						<c:forEach var="information" items="${information}" varStatus="s">
							<tr>
								<td>${s.count}</td>
								<td>${information.campusInformationTitle }</td>
								<td>${information.campusInformationContent }</td>
								<td>${information.campusInformationDate }</td>
							</tr>
						</c:forEach>
					</table>
				</form>
			</div>
		</div>
		<div class="block">
			<p class="block-heading">课程表</p>
			<div class="block-body">
				<div class="row-fluid">
					<a href="#" class="btn btn-primary">小一班</a> <a href="#"
						class="btn btn-primary">小二班</a> <a href="#"
						class="btn btn-primary">小三班</a> <a href="#"
						class="btn btn-primary">小四班</a>
					<div class="clearfix"></div>
					<a href="#" class="btn btn-primary">中一班</a> <a href="#"
						class="btn btn-primary">中二班</a> <a href="#"
						class="btn btn-primary">中三班</a> <a href="#"
						class="btn btn-primary">中四班</a>
					<div class="clearfix"></div>
					<a href="#" class="btn btn-primary">大一班</a> <a href="#"
						class="btn btn-primary">大二班</a> <a href="#"
						class="btn btn-primary">大三班</a> <a href="#"
						class="btn btn-primary">大四班</a>
					<div class="clearfix"></div>
				</div>
			</div>
		</div>
		<div class="header">
			<script language="JavaScript">  
        function showTime(){    
        var thetime=new Date();   //   初始化日期对象
            document.getElementById( "timeArea").innerText   =   thetime.toLocaleString();
            window.setTimeout("showTime()",1000);   //setTimeout (表达式,延时时间)其中延时时间以豪秒为单位(1000ms=1s)
        }
        </script>
			<div id="timeArea" align="right"></div>
			<h1 class="page-title">&nbsp;</h1>
		</div>
	</div>
	<script src="all/lib/bootstrap/js/bootstrap.js"></script>
	<script type="text/javascript">
        $("[rel=tooltip]").tooltip();
        $(function() {
            $('.demo-cancel-click').click(function(){return false;});
        });
    </script>
</body>
</html>



